
const ora  = require('ora') 
const chalk = require('chalk');
const inquire = require('inquirer')
function init() {
    console.log("初始化项目开始")
    inquire.prompt([{
        type: "input",
        name: "name",
        message: "输入一个项目名称",
        default: 'Default'
    }]).then((answer) => {
        // 远程gi拉取一些项目模版
        const initSpiner = ora(chalk.green("初始化项目中"))
        initSpiner.start()
        console.log(chalk.green("初始化项目中"))
    })
}
module.exports = init;